/*
 * Copyright (c) 2012 by system INFORMATION TECHNOLOGY CO.
 *             All rights reserved                         
 */
package com.system.web.common.dao;

import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * @Description 抽象DAO（只读）
 * @author <a href="mailto:liushuaiying@139130.net">Shuaiying.Liu</a>
 * @Data 2012-9-7
 * @Version 1.0.0
 */
public abstract class ReadOnlyDao {

	protected SqlSessionFactory sessionFactory;

	@Autowired
	@Qualifier("readSessionFactory")
	public void setSessionFactory(SqlSessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}
	
}
